//
//  build_controller.m
//  sbrush
//
//  Created by Phillip Popp on 4/25/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "build_controller.h"


@implementation BuildController

@synthesize modelItems;
@synthesize pantomimeItems;

- (id) initWithPantomimeArray:(NSMutableArray*)pantArray
				   modelArray:(NSMutableArray*)modelArray
				   instrument:(sbrush::Instrument*)instrument
			   instrumentView:(NSView*)instrumentView
{
    self = [super initWithWindowNibName:@"Build"];
    if (self != nil) {
		pantomimeItems = pantArray;
		modelItems = modelArray;
		_instrument = instrument;
		_instrumentView = instrumentView;
    }    
    return self;
}

- (void)setModelItems:(NSMutableArray*)array {
	/* we only copy the values here because other objects have references to
	 * this array */
	[modelItems setArray:array];
}

- (void)setPantomimeItems:(NSMutableArray *)array {
	/* we only copy the values here because other objects have references to
	 * this array */
	[pantomimeItems setArray:array];
}

- (IBAction) build:(id)sender {
}

- (IBAction) load:(id)sender {
}

- (IBAction) play:(id)sender {
}


@end
